package 抽象工厂模式;

public class LinuxFactory implements SoftWareFactory{
    @Override
    public OperatingSystem createOS() {
        return new LinuxOS();
    }

    @Override
    public Application openApp() {
        return new WordApplication();
    }
}
